<?php
	if(isset($form))
	{
		echo $form->create("Listing",array("url"=>"/listings/index/searchLocation/"));
		echo $form->input('text_search',array('value'=>@$this->params['named']['text_search']));
		echo $form->input("location",array('value'=>@$this->params['named']['location']));
		echo $form->end("Submit");
	}
?>